This example demonstrates a canvas-based class that has a DoubleClicked event. The class uses the Declare statement to get the double-click time from the user's computer. The class makes the appropriate toolbox call for Mac OS, Mac OS X and Win32. If a double-click occurs, the class' doubleclick event fires.
This class in this example is useful as a basis for other canvas-based classes that require a double-click event.